﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.Core.Data;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.Decoration
{
    /// <summary>
    /// 装修公司门店
    /// </summary>
    public class DecorationCompanyStore : GeneralBase<int>
    {
        /// <summary>
        /// 装修公司ID
        /// </summary>
        public int DecorationCompanyID { get; set; }
        /// <summary>
        /// 门店名称
        /// </summary>
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 门店地址
        /// </summary>
        [StringLength(255)]
        public string Address { get; set; }
        /// <summary>
        /// 省ID
        /// </summary>
        [StringLength(50)]
        public string ProvinceID { get; set; }
        /// <summary>
        /// 市ID
        /// </summary>
        [StringLength(50)]
        public string CityID { get; set; }
        /// <summary>
        /// 地区ID
        /// </summary>
        [StringLength(50)]
        public string AreaID { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public double X { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        public double Y { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int ShowIndex { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
    }
}
